package com.world.quartz.task;

import com.world.blog.service.IBlogArticleService;
import com.world.blog.service.IBlogProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2025-05-29  14:42
 */
@Component("blogTask")
public class BlogTask {

    @Autowired
    private IBlogArticleService articleService;

    @Autowired
    private IBlogProjectService projectService;

    public void synchronousViewsCount() {
        articleService.synchronousViewsCount();
//        projectService.synchronousViewsCount();


    }


}
